// pages/survey/survey.js
Page({
  data: {},
  formSubmit:function(item){
    let fromValue = item.detail.value
    let Data = {
      "类型": fromValue.radioGroup == "优化建议" ? '优化建议':'功能异常',
      "信息":fromValue.textarea,
      "联系方式": fromValue.number
    }
    console.log(Data)
    wx.showModal({
      content: '提交成功！',
      title: '提示',
      success: (result) => {},
      fail: (res) => {
        console.log("弹窗提示异常！")
      },
    })
  }
})